package com.ruoyi.production.mapper.pesticide;

import java.util.List;
import com.ruoyi.production.domain.pesticide.PesticideAmount;

/**
 * 农药量Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface PesticideAmountMapper
{
    /**
     * 查询农药量
     *
     * @param pesticideAmountId 农药量ID
     * @return 农药量
     */
    public PesticideAmount selectPesticideAmountById(Long pesticideAmountId);

    /**
     * 查询农药量列表
     *
     * @param pesticideAmount 农药量
     * @return 农药量集合
     */
    public List<PesticideAmount> selectPesticideAmountList(PesticideAmount pesticideAmount);

    /**
     * 新增农药量
     *
     * @param pesticideAmount 农药量
     * @return 结果
     */
    public int insertPesticideAmount(PesticideAmount pesticideAmount);

    /**
     * 修改农药量
     *
     * @param pesticideAmount 农药量
     * @return 结果
     */
    public int updatePesticideAmount(PesticideAmount pesticideAmount);

    /**
     * 删除农药量
     *
     * @param pesticideAmountId 农药量ID
     * @return 结果
     */
    public int deletePesticideAmountById(Long pesticideAmountId);

    /**
     * 批量删除农药量
     *
     * @param pesticideAmountIds 需要删除的数据ID
     * @return 结果
     */
    public int deletePesticideAmountByIds(Long[] pesticideAmountIds);
}
